#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H

#include <QDialog>
#include "ui_OptionsDialog.h"

using namespace Ui;

//! Options dialog.
class OptionsDialog : public QDialog, public OptionsDialogClass
{
	Q_OBJECT

public:
	//! Create instance of option dialog.
	OptionsDialog(QWidget *parent = 0);
	//! Desctuctor.
	~OptionsDialog();
	
private:
	//! Load options values into this dialog.
	void loadOptions();

	//! Ok button click handler.
	void accept();

protected slots:

	//! User has changed current item in property pages list.
	void changePage(QListWidgetItem *current, QListWidgetItem *previous);
};

#endif // OPTIONSDIALOG_H
